/*
 * Copyright (c) 2009, Jan Pastor. All Rights Reserved.
 */

package sk.jp.jitag.model.config;

import sk.jp.jitag.dao.db4o.BaseEnum;

public class MediaTypeClass extends BaseEnum {

    /**
     * Supported media types of files to work with.
     */
    public static enum Items {
        image,
        text,
        audio,
        video,
        other;
    }

    public MediaTypeClass(Items typeClassCode) {
        super(typeClassCode.name(), typeClassCode.name());
    }

    public Items getTypeClassCode(){
        return Items.valueOf(getCode());
    }
    
}
